Object-oriented programming of adaptive finite element and finite volume methods"
نویسندگان
چکیده
This article describes an object-oriented implementation of the finite element method and the finite volume method in a unified adaptive system using the programming language C++. The system applies to various types of mathematical model problems. Traditionally, different numerical methods for different types of problems are implemented independently by procedural languages such as C and Fortran. Moreover, adaptive analysis programs are more complicated than nonadaptive programs. Nevertheless, these methods share many common properties such as linear system solvers, data structures, a posteriori error analyses, and refinement processes. Some advantageous features of object-oriented programming are demonstrated through the integration of these properties in the adaptive system. New data types of objects specific to adaptive methods are also introduced. The system is well-structured, extendable, and maintainable due mainly to the nature of encapsulation and inheritance of object-oriented programming.
منابع مشابه
Comparison of different numerical methods for calculating stress intensity factors in analysis of fractured structures
In this research, an efficient Galerkin Finite Volume Method (GFVM) along with the h–refinement adaptive process and post–processing error estimation analysis is presented for fracture analysis. The adaptive strategy is used to produce more accurate solution with the least computational cost. To investigate the accuracy and efficiency of the developed model, the GFVM is compared with two versio...
متن کاملEasyFEM - An object-oriented graphics interface finite element/finite volume software
An object-oriented finite element/finite volume software, EasyFEM, has been developed. The software, with a fully interactive graphics interface, analyses heat transfer, solid mechanics, and fluids problems by the finite element and the finite volume methods. The Coad and Yourdon methodology is used to describe the general structure of classes and objects implemented by the software. Details of...
متن کاملA two dimensional Simulation of crack propagation using Adaptive Finite Element Analysis
Finite element method (FEM) is one of the most famous methods which has many applications in varies studies such as the study of crack propagation in engineering structures. However, unless extremely fine meshes are employed, problem arises in accurately modelling the singular stress field in the singular element area around the crack tip. In the present study, the crack growth simulation has b...
متن کاملObject-oriented implementation of 3D DC adaptive finite- element method
In this paper, we introduced a clear objectoriented framework to implement the complicated adaptive procedure with C++ programming language. In this framework, it consisted of the unstructured mesh generation, a-posterior error estimating, adaptive strategy, and the postprocessing. Unlike the procedure-oriented framework, which is commonly used in DC resistivity modeling with FORTRAN language, ...
متن کاملAdaptive Unstructured Grid Generation Scheme for Solution of the Heat Equation
An adaptive unstructured grid generation scheme is introduced to use finite volume (FV) and finite element (FE) formulation to solve the heat equation with singular boundary conditions. Regular grids could not acheive accurate solution to this problem. The grid generation scheme uses an optimal time complexity frontal method for the automatic generation and delaunay triangulation of the grid po...
متن کامل